<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class testviewPeople extends WebTestCase {

    function testviewPeopleModule() {
        
        $this->get('http://localhost/index.php');
        $this->assertResponse(200);
        $this->setField('user', 'admin');
        $this->setField('pass', 'devproject');
        $this->click('Login');
        
        $this->get("http://localhost/view.php?page_num=2&num_results=25");
        $this->assertResponse(200);
        $this->assertText("Viewing results 51-72");

        
        $this->get('http://localhost/logout.php');
        $this->assertResponse(200);  
        
        echo("testviewPeople complete");
    }
}
?>
